<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>
<title>Safe Form Demo</title>
<script src="jquery.js"></script>
<script src="cookieFunctions.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.warning').remove();
$.get("token.php",function(txt){
  $(".secure").append('<input type="hidden" name="ts" value="'+txt+'" />');
});
});
</script>
<style type="text/css">

body {
	background: #fff;
}

</style>
</head>

<body>

<form action="test.php" method="post" class="secure">
  <p class="warning">You must javascript enabled to use this form</p>
  <p>Name:<br />
    <input type="text" name="name" />
  </p>
  <p>
    <input type="submit" name="Submit" value="Submit" />
  </p>
</form>
</body>
</html>
